/*项目信息管理-详情-左右充满文字样式*/
import 'package:flutter/cupertino.dart';
import 'package:frametrim/utility/sq_color.dart';

class TextToTextView extends StatelessWidget {
  late String text1;
  late String text2;

  TextToTextView(this.text1, this.text2);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.infinity,
      margin: EdgeInsets.only(top: 10),
      child: Row(
        children: [
          Text(text1,
              style: TextStyle(fontSize: 14, color: SQColor.color_60black)),
          SizedBox(width: 20),
          Expanded(
            child: Container(
              alignment: Alignment.centerRight,
              child: Text(text2,
                  style: TextStyle(fontSize: 14, color: SQColor.color_90black)),
            ),
          )
        ],
      ),
    );
  }
}
